package top.oylan.manager.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author abduahad
 * @Description ${description}
 * @Date 2019-04-19
 */
@Mapper
public interface RoleActionMapper {

   int deleteByRoleId(Integer roleId);

   int saveRoleActions(@Param("roleId")Integer roleId, @Param("actions") List<Integer>  actions);
}
